package me.macd.mindoc.model;

import java.util.Date;

public class Migrations {
    private Integer migrationId;

    private String name;

    private String status;

    private Date createTime;

    private Long version;

    private String statements;

    public Migrations(Integer migrationId, String name, String status, Date createTime, Long version, String statements) {
        this.migrationId = migrationId;
        this.name = name;
        this.status = status;
        this.createTime = createTime;
        this.version = version;
        this.statements = statements;
    }

    public Migrations() {
        super();
    }

    public Integer getMigrationId() {
        return migrationId;
    }

    public void setMigrationId(Integer migrationId) {
        this.migrationId = migrationId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public String getStatements() {
        return statements;
    }

    public void setStatements(String statements) {
        this.statements = statements == null ? null : statements.trim();
    }
}